package com.atguigu.gulimall.member.feign;

import com.atguigu.common.utils.R;
import com.atguigu.gulimall.member.feign.fallback.CouponFeignServiceFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @create: 2024/8/17
 * @author: gyhe10
 * @description: member 模块调用 coupon 模块的接口
 **/

@FeignClient(value = "gulimall-coupon", fallback = CouponFeignServiceFallback.class)
public interface CouponFeignService {

    @RequestMapping("/coupon/coupon/member/list")
    public R memberCoupons();
}
